num = 10
t = [1, [1, 1]]
for i in range(2, num):
    cur = [1]
    pre = t[i - 1]
    for j in range(i - 1):
        cur.append(pre[j] + pre[j + 1])
    cur.append(1)

    t.append(cur)
    print(t)